<?php  
class ControllerModuleYahooMessenger extends Controller {
	protected function index() {
		$this->language->load('module/yahoo_messenger');
		
    $this->data['heading_title'] = $this->language->get('heading_title');
	$this->data['yahoo_messenger_code'] = $this->config->get('yahoo_messenger_code');	
	$this->data['yahoo_messenger_image'] = $this->config->get('yahoo_messenger_image');	
	
				
		$this->id       = 'yahoo_messenger';
		
		if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/module/yahoo_messenger.tpl')) {
			$this->template = $this->config->get('config_template') . '/template/module/yahoo_messenger.tpl';
		} else {
			$this->template = 'default/template/module/yahoo_messenger.tpl';
		}
				
		$this->render();
	}
}
?>